3fc6320881e7463cb2976388f250e4536d926d1b,jetty-client/src/test/java/org/eclipse/jetty/client/HttpClientCustomProxyTest.java,CAFEBABEConnection,onFillable,#,171

Before Change


                Assert.assertArrayEquals(CAFE_BABE, buffer.array());

                // We are good, upgrade the connection
                ClientConnectionFactory.Helper.replaceConnection(this, connectionFactory.newConnection(getEndPoint(), context));
            }
            catch (Throwable x)
            {

After Change


                Assert.assertArrayEquals(CAFE_BABE, buffer.array());

                // We are good, upgrade the connection
                getEndPoint().upgrade(connectionFactory.newConnection(getEndPoint(), context));
            }
            catch (Throwable x)
            {